<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LOBO: programme Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LOBO
   &#160;<span id="projectnumber">0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">programme Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="programme" -->
<p><code>#include &lt;<a class="el" href="programme_8h_source.html">programme.h</a>&gt;</code></p>

<p><a href="classprogramme-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprogramme.html#ae395dbf3a8a6f7dc7dddf581d6e38ba0">programme</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructeur vide.  <a href="#ae395dbf3a8a6f7dc7dddf581d6e38ba0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprogramme.html#a1014aeeb8b6dc34a4afa38e34879ce76">programme</a> (string nom, bool slt=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructeur.  <a href="#a1014aeeb8b6dc34a4afa38e34879ce76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprogramme.html#ae4db73fb0470493aa3c60892a9182fdd">~programme</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprogramme.html#a977a2be8b524b567ec1b5b06e8e3e863">parser</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parcours le fichier.  <a href="#a977a2be8b524b567ec1b5b06e8e3e863"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprogramme.html#a9cfb833109b48b2205d54ae041140cdc">addFonction</a> (const <a class="el" href="classfonction.html">fonction</a> &amp;F)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajout d'une fonction.  <a href="#a9cfb833109b48b2205d54ae041140cdc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classprogrammecpp.html">programmecpp</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprogramme.html#ad4ba84be00f28e6098ec4526b73c3f26">translate</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Traduction du programme.  <a href="#ad4ba84be00f28e6098ec4526b73c3f26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprogramme.html#aaad58d45ac3f585982376e4bae78fa65">afficheFonct</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affichage d'une fonction.  <a href="#aaad58d45ac3f585982376e4bae78fa65"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">stringstream&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprogramme.html#ae363b5630d80ab39f7cd2fe9ea9646ed">flux_erreur</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae395dbf3a8a6f7dc7dddf581d6e38ba0"></a><!-- doxytag: member="programme::programme" ref="ae395dbf3a8a6f7dc7dddf581d6e38ba0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprogramme.html#ae395dbf3a8a6f7dc7dddf581d6e38ba0">programme::programme</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructeur vide. </p>

</div>
</div>
<a class="anchor" id="a1014aeeb8b6dc34a4afa38e34879ce76"></a><!-- doxytag: member="programme::programme" ref="a1014aeeb8b6dc34a4afa38e34879ce76" args="(string nom, bool slt=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprogramme.html#ae395dbf3a8a6f7dc7dddf581d6e38ba0">programme::programme</a> </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>nom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>slt</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructeur. </p>
<p>Constructeur d'un objet programme avec un nom et une valeur de silence lecture</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">nom</td><td>: le nom du fichier </td></tr>
    <tr><td class="paramname">slt</td><td>: silencieu ou pas </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae4db73fb0470493aa3c60892a9182fdd"></a><!-- doxytag: member="programme::~programme" ref="ae4db73fb0470493aa3c60892a9182fdd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprogramme.html#ae4db73fb0470493aa3c60892a9182fdd">programme::~programme</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9cfb833109b48b2205d54ae041140cdc"></a><!-- doxytag: member="programme::addFonction" ref="a9cfb833109b48b2205d54ae041140cdc" args="(const fonction &amp;F)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classprogramme.html#a9cfb833109b48b2205d54ae041140cdc">programme::addFonction</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classfonction.html">fonction</a> &amp;&#160;</td>
          <td class="paramname"><em>F</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ajout d'une fonction. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">F,:</td><td>la fonction à ajouter </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaad58d45ac3f585982376e4bae78fa65"></a><!-- doxytag: member="programme::afficheFonct" ref="aaad58d45ac3f585982376e4bae78fa65" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classprogramme.html#aaad58d45ac3f585982376e4bae78fa65">programme::afficheFonct</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affichage d'une fonction. </p>
<p>Permet d'afficher la suite d'instruction d'une fonction </p>

</div>
</div>
<a class="anchor" id="a977a2be8b524b567ec1b5b06e8e3e863"></a><!-- doxytag: member="programme::parser" ref="a977a2be8b524b567ec1b5b06e8e3e863" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classprogramme.html#a977a2be8b524b567ec1b5b06e8e3e863">programme::parser</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parcours le fichier. </p>
<p>Parcours du fichier et analyse des lignes </p>

</div>
</div>
<a class="anchor" id="ad4ba84be00f28e6098ec4526b73c3f26"></a><!-- doxytag: member="programme::translate" ref="ad4ba84be00f28e6098ec4526b73c3f26" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprogrammecpp.html">programmecpp</a> <a class="el" href="classprogramme.html#ad4ba84be00f28e6098ec4526b73c3f26">programme::translate</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Traduction du programme. </p>
<p>Traduction du programme, chaque fonction traduit ces instructions Création d'un programmecpp</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>le programmecpp généré </dd></dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ae363b5630d80ab39f7cd2fe9ea9646ed"></a><!-- doxytag: member="programme::flux_erreur" ref="ae363b5630d80ab39f7cd2fe9ea9646ed" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">stringstream <a class="el" href="classprogramme.html#ae363b5630d80ab39f7cd2fe9ea9646ed">programme::flux_erreur</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="programme_8h_source.html">programme.h</a></li>
<li><a class="el" href="programme_8cpp.html">programme.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 21 2012 16:06:20 for LOBO by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
